import axios from '@/utils/axios/index';
//通用说明
export const commonExplainList = () => {
    return axios.get({
        url: '/lawsuitCosts/commonExplainList',
    });
};
//二级目录列表
export const getSecondaryDirectoryList = () => {
    return axios.get({
        url: '/lawsuitCosts/getSecondaryDirectoryList',
    });
};
//类型列表
export const getType = (data: number | string) => {
    return axios.get({
        url: '/lawsuitCosts/getType?id=' + data,
    });
};
//案件列表
export const getCase = (data: number | string) => {
    return axios.get({
        url: '/lawsuitCosts/getCase?id=' + data,
    });
};
//模式列表
export const getMode = (data: number | string) => {
    return axios.get({
        url: '/lawsuitCosts/getMode?id=' + data,
    });
};

//获取内容
export const getContext = (data: number | string) => {
    return axios.get({
        url: '/lawsuitCosts/getContext?id=' + data,
    });
};
// 获取计算金额设计结果
export const getCalculatorResults = (data:any) => {
    return axios.post({
        url: '/lawsuitCosts/getCalculatorResults',
        data
    });
};
//获取诉讼费官方文档
export const getDocument = () => {
    return axios.get({
        url: '/lawsuitCosts/getDocument.docx',
    });
};